package cn.lbaicai.entity;

import java.io.Serializable;
import java.util.Date;

public class Emp implements Serializable {
    private Integer id;

    private String username;

    private String password;

    private String salt;

    private Date created;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
    //证书凭证
    public String getCredentialsSalt() {
        return username + salt;
    }

}